package org.dtrd.modules.content.articles.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.dtrd.modules.faq.entity.po.DtrdExtEmsYwFaqs;

import java.util.Date;

/**
 * 内容展示
 * @Author: QR
 * @Date: 2021/9/2-18:18
 */
@Data
@ApiModel(value = "知识问答列表展示内容项")
public class DtrdExtEmsYwFaqsVO {

    @ApiModelProperty(name = "ID")
    private Integer dataId;

    @ApiModelProperty(name = "常见问题")
    private String faqQuestion;

    @ApiModelProperty(name = "所属分类")
    private Integer faqCategoryid;

    @ApiModelProperty(name = "创建时间")
    private Date faqCreateTime;

    @ApiModelProperty(name = "常见问题标签")
    private String faqTips;

    @ApiModelProperty(name = "常见问题创建人")
    private String faqCreater;

    @ApiModelProperty(name = "分类图片")
    private String faqThumb;

    @ApiModelProperty(name = "浏览量")
    private Integer faqViews;

    public DtrdExtEmsYwFaqsVO (DtrdExtEmsYwFaqs po) {
        dataId = po.getDataId();
        faqQuestion = po.getFaqQuestion();
        faqCategoryid = po.getFaqCategoryid();
        faqCreateTime = po.getFaqCreateTime();
        faqTips = po.getFaqTips();
        faqCreater = po.getFaqCreater();
        faqThumb = po.getFaqThumb();
        faqViews = po.getFaqViews();
    }
}
